package org.jeecg.modules.parameter.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * @author P
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName(value = "sim_exit", schema = "simulator")
@ApiModel(value = "sim_exit", description = "参数-车站-车站出入口")
public class SimExit implements Serializable {
    @ApiModelProperty(value = "线路uuid，唯一标识")
    @TableId(type = IdType.ASSIGN_UUID, value = "id")
    private String id;

    @ApiModelProperty(value = "出入口ID号")
    @TableField(value = "exit_id")
    private String exitId;

    @ApiModelProperty(value = "出入口名称")
    @TableField(value = "exit_name")
    private String exitName;

    @ApiModelProperty(value = "所属车站id（uuid）")
    @TableField(value = "main_station_id")
    private String mainStationId;

    @ApiModelProperty(value = "运营状态，运营01(默认) ，停运02，限流03")
    @TableField(value = "operating_status")
    private String operatingStatus;

    @ApiModelProperty(value = "最大走行速度，m/s")
    @TableField(value = "max_speed")
    private Double maxSpeed;

    @ApiModelProperty(value = "进站速度，m/s")
    @TableField(value = "in_speed")
    private Double inSpeed;

    @ApiModelProperty(value = "出站速度，m/s")
    @TableField(value = "out_speed")
    private Double outSpeed;

}